package com.yanyilu.basing.mapper;

import com.yanyilu.basing.entity.CheckInRecord;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Sxx
 * @since 2020-10-26
 */
public interface CheckInRecordMapper extends BaseMapper<CheckInRecord> {

    List<CheckInRecord> selectAllByUserId(@Param("userId") Integer userId);


    List<CheckInRecord> selectAdminAllBystate(@Param("reviewState") Integer reviewState);

    List<CheckInRecord> selectAdminAll();
}
